package jobs.job3.classloaderdemo.server.zkutil;

public class ServerDemo {
    public static void main(String[] args) {
        ServiceRegistrationClient serRegCli = new ServiceRegistrationClient();
        serRegCli.connectZk();
        serRegCli.saveServerInfo("localhost", "8888");
        new TimeThread(Integer.parseInt("8888")).start();
    }
}
